import request from '@/utils/request'

export function getRefunds(query) {
  return request({
    url: '/market/refund/getList',
    method: 'post',
    data: query
  })
}

export function getRefund(id) {
  return request({
    url: '/market/refund/getDetail',
    method: 'post',
    data: id
  })
}
